package com.ppc.pmatch;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author dy
 * @date 2023/12/20
 * @decreption 需求Tag
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RequireTag {

  private long requireId;
  private String c1;
  private String c2;
  private String c3;
  private String c4;

  public RequireTag(long requireId, Ciphertext C) {
    this.requireId = requireId;
    c1 = C.getC1();
    c2 = C.getC2();
    c3 = C.getC3();
    c4 = C.getC4();
  }

  public Ciphertext getCiphertext() {
    return new Ciphertext(c1, c2, c3, c4);
  }

}
